package com.rgp.apiboss.service.impl;

import com.rgp.apiboss.feign.ServiceDriverUserClient;
import com.rgp.apiboss.service.CarService;
import com.rgp.internalcommon.dto.CarDto;
import com.rgp.internalcommon.dto.ResponseResult;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @author nhp
 * @version 1.0
 * @description TODO
 * @date 2024-04-19 20:53
 */
@Service
public class CarServiceImpl implements CarService {

    @Autowired
    private ServiceDriverUserClient serviceDriverUserClient;

    @Override
    public ResponseResult addCar(CarDto carDto) {
        return serviceDriverUserClient.addCar(carDto);
    }
}